package com.scut.campus.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PostVo {

    private String postId;
    private String title;
    private String content;
    private String userId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String createTimestamp;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String updateTimestamp;
    private String typeId;
    private Integer visitNum;
    //TODO
    private Integer subNum;
    private String pic1;
    private String pic2;
    private String pic3;

    private String image;
    private String nickName;

    private Short like;

}
